package ch1;

import java.util.Scanner;

public class Zuoye03107 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入大于6的偶数：");
        int a=0;
        while (true) {
            a = scan.nextInt();
            if (a > 6 && a % 2 == 0) {
                break;
            }
            System.out.println("输入错误，请重新输入");
        }
        for (int i=2,j,b;i<a;i++){
            for (j=2;j<a-i;j++){
               if ((a-i)%j==0){
                break;
               }
            }
            if (a-i==j){
                for (b=2;b<j;b++){
                if (j%b==0){
                    break;
                }}
                if (j==b){
                    System.out.println(a+"="+b+"+"+(a-b));
                    break;
                }
            }
    }
}}
